home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
doorstmp.zip
/
DOORSTMP.TXT
next >
Wrap
Text File
|
1992-07-10
|
4KB
|
133 lines
DOORS.TMP
---------
Whenever TriBBS runs a door, it saves a number of variables to a
file called DOORS.TMP in the node's NWORK directory. The format
for this file is as follows:
Byte Data Type Description
1 to 2 int The caller's baud rate. 0 if it's
a local logon.
3 to 4 int Error correcting connection flag.
TRUE (1) if it's an error
correcting connection or FALSE (0)
if it isn't an error correcting
connection.
5 to 6 int The caller's record number in
SERS.DAT.
7 to 8 int The number of minutes the caller
had remaining at logon.
9 to 10 int ANSI flag. TRUE (1) if the ANSI
color graphics is on or FALSE (0)
ANSI is off.
11 to 12 int The caller's current file area.
13 to 14 int The caller's current message
conference.
15 to 18 long The system time, in seconds, at
logon since 00:00:00 GMT, 01/01/70.
19 to 20 int TRUE (1) if BBS.EXE was started
with the /F command line switch.
FALSE (0) otherwise.
21 to 22 int Baud rate that was passed with the
/F command line switch.
23 to 24 int TRUE (1) if BBS.EXE was started
with the /H command line switch.
FALSE (0) otherwise.
25 to 26 int User status window flag. TRUE (1)
if the user status window is being
displayed. FALSE (0) if the user
status window isn't being
displayed.
27 to 28 int The number of minutes remaining as
passed by the /T command line
switch.
29 to 30 int This value indicates where the door
is being run from. This is subject
to change so it will remain
undocumented.
31 to 32 int Chat requested flag. TRUE (1) if
the caller has requested a chat.
FALSE (0) if the caller hasn't
requested a chat.
33 to 34 int Event flag. TRUE (1) if the
caller's time has been adjusted by
an upcoming event. FALSE (0) if an
event isn't pending.
35 to 36 int Goodbye flag. TriBBS sets this to
FALSE (0) when if runs a door. If
it has been changed to a non-zero
value by the door, TriBBS will
assume that the caller wants to be
logged off.
37 to 256 char Dummy padding. This is set to all
zeros by TriBBS and is added for
compatibility with future versions.